home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / offset.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  42 lines

  1. .TH OFFSET
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. OFFSET
  5.  
  6.  
  7.  
  8.  CurveType OFFSET( CurveType Crv, NumericType OffsetDistance,
  9.                    NumericType Tolerance, NumericType BezInterp )
  10.  
  11.  or
  12.  
  13.  SurfaceType OFFSET( SurfaceType Srf, NumericType OffsetDistance,
  14.                      NumericType Tolerance, NumericType BezInterp )
  15.  
  16.  or
  17.  
  18.  TrimSrfType OFFSET( TrimSrfType TrimSrf, NumericType OffsetDistance,
  19.                      NumericType Tolerance, NumericType BezInterp )
  20.  
  21. Offsets Crv, Srf or a TrimSrf, by translating all the
  22. control points in the direction of the normal of the curve or the (trimmed)
  23. surface by an OffsetDistance amount.
  24. Each control point has a node parameter value associated with
  25. it, which is used to compute the normal. The returned curve or surface only
  26. approximates the real offset. If the resulting approximation does not satisfy
  27. the accuracy required by Tolerance, Crv or Srf or
  28. TrimSrf is subdivided and an offset approximation fit is computed to
  29. the two halfs. For curves, one can request a Bezier interpolation scheme in
  30. the offset approximation by setting BezInterp. The BezInterp is
  31. not supported yet for (trimmed) surfaces.
  32. Negative OffsetDistance denotes offset in the reversed direction of the
  33. normal.
  34.  
  35. Example:
  36.  
  37.     OffCrv = OFFSET( Crv, -0.4, 0.1, off );
  38.  
  39. offsets Crv by the amount of -0.4 in the reversed normal direction,
  40. Tolerance of 0.1 and no Bezier interpolation.
  41. See also AOFFSET and LOFFSET.
  42.